home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / rprn.zip / RPRN.DOC < prev   
Text File  |  1985-10-21  |  3KB  |  120 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                      RPRN
  8.  
  9.                               By Robert J. Newton
  10.  
  11.        Every redirect printer to file program I have tried has failed
  12.        on my AT, usually crashing.  RPRN has no DOS version dependencies
  13.        (1.x is not supported), uses only documented DOS features, does
  14.        not attempt to re-enter DOS and appears to the user much like
  15.        standard output device redirection.  However, the price of this
  16.        compatibility is that, like standard output redirection, RPRN
  17.        works only with applications which use DOS and not BIOS for
  18.        printer services.  Perhaps someday Microsoft will document the
  19.        proper way to re-enter DOS, permitting a safe intercept of BIOS
  20.        printer service.
  21.  
  22.        The command line format is:
  23.  
  24.        rprn [d:][path][filename][.ext] >[>][d:][path]filename[.ext]
  25.  
  26.        Note that the command line syntax for RPRN is essentially
  27.        identical to that used for redirection of the standard output
  28.        device, except that the command line begins with RPRN.  The first
  29.        d:path filename.ext is the pathspec of an executable file and is
  30.        optional.  The second pathspec is that of the file to which the
  31.        printer is being redirected.  Additional parameters for the
  32.        executable file are accepted.
  33.  
  34.        If an optional executable program is specified, that program will
  35.        be executed and any output it sends to the printer through DOS
  36.        will be redirected to the file.  Redirection will terminate
  37.        automatically upon exit from the program.
  38.  
  39.        If no executable program is specified, you will see the sign on
  40.        banner of the command processor and redirection will remain
  41.        effective until you enter EXIT at a DOS prompt.  All exits will
  42.        leave an ERRORLEVEL for checking by batch files.  Errors internal
  43.        to RPRN return 255, all others return the DOS error
  44.        number.
  45.  
  46.        NOTE: Since RPRN invokes a secondary copy of the command
  47.        processor, you must have a COMSPEC=parameter in your environment. 
  48.        In addition, if you SET your own COMSPEC do not place any spaces
  49.        or other delimiters before the "=" or RPRN cannot find the
  50.        COMSPEC.
  51.  
  52.        Version 2.1 corrects a bug when STDIN is redirected.
  53.  
  54.        RPRN is (C) Copyright 1985 by Robert J. Newton, but hereby
  55.        released to the public domain for private non-commercial use.  It
  56.        may be freely copied and distributed, but no consideration may be
  57.        requested other than any customary handling fees charged by
  58.  
  59.  
  60.                                        1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.        recognized user's groups.  No warranties of any kind are provided
  67.        and by using the program the user assumes all risk.
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.                                        2
  120.